Memory circuit device and method for using same

ABSTRACT

A memory circuit device includes multiple memory cells that are each constituted of a resistive memory element, a write circuit unit that is configured to write data to any one of the memory cells which is designated by cell designating information, and a read circuit unit that is configured to read out, from the memory cell designated by the cell designating information, data written in the memory cell. The memory circuit device has a configuration including a selection circuit unit that is shared by both of the write circuit unit and the read circuit unit and configured to select a memory cell to be activated from the multiple memory cells based on the cell designating information, and a control circuit unit that is configured to selectively enable any one of writing of data by the write circuit unit and reading of data by the read circuit unit with respect to the memory cell selected by the selection circuit unit.

CROSS REFERENCE TO RELATED APPLICATIONS

The present application is a U.S. Divisional Patent Application of U.S.Non-Provisional patent application Ser. No. 16/647,155 filed on Mar. 13,2020, which is a U.S.C. 371 U.S. National Stage of International PatentApplication No. PCT/JP2018/034229 filed on Sep. 14, 2018 which claimspriority to Japanese Patent No. 2017-178241 filed on Sep. 15, 2017. Theentireties of these application are incorporated herein by reference.

TECHNICAL FIELD

The present invention relates to a memory circuit device that isconfigured in accordance with the logic-in-memory (LIM) circuittechnology for example, and to a method for using the memory circuitdevice.

BACKGROUND ART

Field-Programmable Gate Arrays (FPGAs) equipped with programmable gatearrays and having a programmable calculation function are known asprogrammable logic devices, for example. A nonvolatile FPGA has theconfiguration of a logic device that uses a resistive memory element,and is thus capable of maintaining stored contents even when its poweris off and reducing standby power consumption.

Nonvolatile programmable logic devices typically tend to have aredundant circuit configuration due to a programmable function. For thisreason, simply replacing a volatile memory element with a nonvolatileresistance-element-type memory element results in increasing a circuitsize and increasing the area occupied by the device.

In order to suppress such an increase in circuit size, circuittechnology called logic-in-memory (hereinafter referred to as LIM) hasbeen proposed, for example (see NPL 1). This LIM circuit technology istechnology for downsizing a circuit by integrating a memory function anda calculation function. For example, in a device that implements, bymeans of a nonvolatile FPGA using a resistive memory element(magnetoresistive memory cell), such a lookup table (hereinafterreferred to as LUT) function that a readout result of addressinformation may be equal to a result of calculating the addressinformation being input information according to a predeterminedcalculation algorithm, a reduction of 62 percent in the number oftransistor elements is achieved, for example, as compared with anexisting device that is configured without LIM described above.

CITATION LIST Non Patent Literature

NPL 1: D. Suzuki, Y Lin, M. Natsui, and T. Hanyu, “A 71%-Area-ReducedSix-Input Nonvolatile Lookup-Table Circuit Using a Three-TerminalMagnetic-Tunnel-Junction-Based Single-Ended Structure,” Japanese Journalof Applied Physics (JJAP) vol. 52, no. 4, pp. 04CM04-1˜04CM04-6. March2013.

SUMMARY OF INVENTION Technical Problem

The memory circuit device configured using the above LIM circuittechnology can achieve downsizing of a circuit; however, furtherdownsizing of a circuit is requested in a memory circuit deviceincluding multiple memory cells (resistance variable elements) andequipped with a function such as an LUT that requires a write circuitunit configured to write data to these memory cells and a read circuitunit configured to read data from these memory cells.

The present invention has been made in consideration of the abovecircumstances, and provides a memory circuit device that makes itpossible to further downsize a circuit.

The present invention also provides a method for using such a memorycircuit device that enables the memory circuit device to implement adata shift function (a function as a shift register).

Solution to Problem

A memory circuit device according to the present invention includesmultiple memory cells that are each constituted of a resistive memoryelement, a write circuit unit that is configured to write data to anyone of the memory cells which is designated by cell designatinginformation, and a read circuit unit that is configured to read out,from the memory cell designated by the cell designating information,data written in the memory cell. The memory circuit device is capable ofoutputting a result of the readout by the read circuit unit in responseto the cell designating information as a result of calculation accordingto a predetermined calculation algorithm in response to the celldesignating information being input information. The memory circuitdevice has a configuration including a selection circuit unit that isshared by both of the write circuit unit and the read circuit unit andconfigured to select a memory cell to be activated from the multiplememory cells based on the cell designating information, and a controlcircuit unit that is configured to selectively enable any one of writingof data by the write circuit unit and reading of data by the readcircuit unit with respect to the memory cell selected by the selectioncircuit unit.

According to the above configuration, when the selection circuit unitselects a memory cell to be activated based on the cell designatinginformation in a state where the control circuit unit enables the writecircuit unit to write data, the write circuit unit writes data to thememory cell selected by the selection circuit unit. On the other hand,when the selection circuit unit selects a memory cell to be activatedbased on the cell designating information in a state where the controlcircuit enables the read circuit unit to read data, the read circuitunit reads, from the memory cell selected by the selection circuit unit,data written in the memory cell.

By regulating the writing of data to the multiple memory cells by thewrite circuit unit, it is possible to output a result of the readout bythe read circuit unit in response to the cell designating information asa result of the calculation according to the predetermined calculationalgorithm in response to the cell designating information being inputinformation.

The memory circuit device according to the present invention may have aconfiguration in which the control circuit unit includes: a writecontrol circuit unit that is configured to enable, based on a writeenable signal, the write circuit unit to write data to the memory cellselected by the selection circuit unit; and a read control circuit unitthat is configured to enable, based on a read enable signal, the readcircuit unit to read data from the memory cell selected by the selectioncircuit unit.

With the above configuration, when the selection circuit unit selects amemory cell to be activated based on the cell designating information ina state where the write control circuit unit enables the write circuitunit to write data based on the write enable signal, the write circuitunit writes data to the memory cell selected by the selection circuitunit. On the other hand, when the selection circuit unit selects amemory cell to be activated based on the cell designating information ina state where the read control circuit unit enables the read circuitunit to read data based on the read enable signal, the read circuit unitreads, from the memory cell selected by the selection circuit unit, datawritten in the memory cell.

The memory circuit device according to the present invention may have aconfiguration in which the selection circuit unit includes a decodercircuit unit that is configured to convert the cell designatinginformation into a sell selection signal which corresponds to the memorycell designated by the cell designating information, and output the cellselection signal. The memory circuit device according to the presentinvention may have a configuration in which the control circuit unitfurther includes: a cell-associated write control circuit unit that isconfigured to allow, in response to the cell selection signal outputfrom the decoder circuit unit, the write circuit unit to write data tothe memory cell which corresponds to the cell selection signal; and acell-associated access control circuit unit that is configured to allow,in response to the cell selection signal output from the decoder circuitunit, the read circuit unit to access the memory which corresponds tothe cell selection signal.

With the above configuration, when the decoder circuit unit of theselection circuit unit outputs a cell selection signal based on the celldesignating information in a state where the write control circuitenables the write circuit unit to write data based on the write enablesignal, the cell-associated write control circuit allows writing of datato the memory cell which corresponds to the cell selection signal, andthe write circuit unit writes data to the memory cell to which writingof data is allowed. Meanwhile, when the decoder circuit unit of theselection circuit unit outputs a cell selection signal based on the celldesignating information in a state where the read control circuit unitenables the read circuit unit to read data based on the read enablesignal, the cell-associated access control circuit unit allows accessingthe memory cell which corresponds to the cell selection signal, and theread circuit unit reads data from the memory cell to which data accessis allowed.

The memory circuit device according to the present invention may have aconfiguration further including: a data switching circuit unit that isconfigured to switch a data string to be supplied to the write circuitunit between a first data string and a second data string according to ashift control signal; and a cell designating information switchingcircuit unit that is configured to switch the cell designatinginformation to be supplied to the selection circuit unit between firstcell designating information and second cell designating informationaccording to the shift control signal.

With the above configuration, it is possible to switch writing of dataaccording to the shift control signal between writing of the first datastring to the memory cell selected based on the first cell designatinginformation and writing of the second data string to the memory cellselected based on the second cell designating information. Besides, itis also possible to switch readout of data according to the shiftcontrol signal between readout of data from the memory cell selectedbased on the first cell designating information and readout of data fromthe memory cell selected based on the second cell designatinginformation. Thereby, the memory circuit device can selectively exhibitmultiple functions such as simple functions of data store/readoutfunction and a calculation function and a data shift function to bedescribed later.

In the memory circuit device according to the present invention, themultiple memory cells may be each constituted of a magnetoresistivememory cell as a resistance variable element.

A method for using a memory circuit device according to the presentinvention is a method for using any one of the above memory circuitdevices including n (n is an integer of 2 or larger) memory cells fromfirst to n-th memory cells arranged in an array. The method has aconfiguration including: a cell designation step of supplying, in astate where data is written in each of the n memory cells, the selectioncircuit unit with cell designating information in which a memory celldesignated by the cell designating information changes sequentiallyamong the first memory cell to the n-th memory cell; and a data readoutstep of causing the control circuit unit to enable the read circuit unitto read data and, while a memory cell designated by the cell designatinginformation changes sequentially among the first memory cell to the n-thmemory cell, thereby causing the read circuit unit to read data from amemory cell selected by the selection circuit unit based on the celldesignating information.

With the above configuration, data is read in order from the firstmemory cell to the n-th memory cell in the state where data is writtenin each of the n first to n-th memory cells. This makes it possible tooutput data strings written in the n memory cells one data at a timewhile shifting the memory cell sequentially from one memory cell toanother, and thereby implement a shift register function.

A method for using a memory circuit device according to the presentinvention is a method for using any one of the above memory circuitdevices including n (n is an integer of 2 or larger) memory cells fromfirst to n-th memory cells arranged in an array. The method has aconfiguration including: a cell designation step of supplying, in astate where data is written in the n memory cells, the selection circuitunit with cell designating information in which a memory cell designatedby the cell designating information changes sequentially so as toiterate over the first memory cell to the n-th memory cell; a datareadout step of causing the control circuit unit to enable the readcircuit unit to read data and, while a memory cell designated by thecell designating information changes so as to iterate over the firstmemory cell to the n-th memory cell, thereby causing the read circuitunit to read data from a memory cell selected by the selection circuitunit based on the cell designating information; and a data write step ofcausing the control circuit unit to enable the write circuit unit towrite data instead of enabling the read circuit unit to read data everytime the readout of data by the read circuit unit is over, and therebycausing the write circuit unit to write data to the memory cell selectedby the selection circuit unit based on the cell designating informationat the time of the readout of data.

A method for using a memory circuit device according to the presentinvention is a method for using a memory circuit device having aconfiguration in which the memory circuit device includes n (n is aninteger of 2 or larger) memory cells from first to n-th memory cellsarranged in an array, and the control circuit unit described aboveincludes: the write control circuit unit that is configured to enable,based on the write enable signal as a control signal, the write circuitunit to write data to the memory cell selected by the selection circuitunit; and the read control circuit unit that is configured to enable,based on the read enable signal as a control signal, the read circuitunit to read data from the memory cell selected by the selection circuitunit. The method has a configuration including: a cell designation stepof supplying, in a state where data is written in the n memory cells,the selection circuit unit with cell designating information in which amemory cell designated by the cell designating information changessequentially so as to iterate over the first memory cell to the n-thmemory cell; a data readout step of supplying the read enable signal tothe read control circuit unit and, while a memory cell designated by thecell designating information changes so as to iterate over the firstmemory cell to the n-th memory cell, thereby causing the read circuitunit to read data from a memory cell selected by the selection circuitunit based on the cell designating information; and a data write step ofsupplying the write enable signal to the write control circuit unitinstead of the read enable signal every time the readout of data by theread circuit unit is over, and thereby causing the write circuit unit towrite data to the memory cell selected by the selection circuit unitbased on the cell designating information at the time of the readout ofdata.

According to these configurations, data is read in order from the firstmemory cell to the n-th memory cell in the state where data is writtenin each of the n first to n-th memory cells. In this process, every timethe readout of data from each memory cell is over, data is written inthe memory cell from which the data has been read. As a result, once thesequential readout of data from the first memory cell to the n-th memorycell is over, the n first to n-th memory cells are put in a state ofbeing written with new data. In this state, data is read from eachmemory cell and, in this process, every time the readout of data fromeach memory cell is over, data is written in the memory cell from whichthe data has been read. By iteration of this procedure, it is possibleto output data strings written in the n memory cells and data strings tobe then written in the first memory cell to the n-th memory cell onedata at a time while shifting the memory cell sequentially from onememory cell to another, and thereby implement a shift register function.

Advantageous Effects of Invention

According to the memory circuit device of the present invention, data iswritten and read using the function of the selection circuit unit thatis shared by both of the write circuit unit and the read circuit unitwithout dedicated selection circuit units provided respectively for thewrite circuit unit and the read circuit unit. Thus, this memory circuitdevice makes it possible to further downsize a circuit.

In addition, the method for using the memory circuit device according tothe present invention enables the memory circuit device according to thepresent invention, having a configuration with a smaller circuit size asdescribed above, to implement a data shift function, that is, a functionas a shift register.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 is a circuit diagram illustrating a memory circuit deviceaccording to an embodiment of the present invention.

FIG. 2A is a diagram illustrating a three-terminal MTJ element.

FIG. 2B is a diagram illustrating a two-terminal MTJ element.

FIG. 3 is a circuit diagram illustrating a configuration example of awrite circuit unit in the memory circuit device illustrated in FIG. 1.

FIG. 4 is a circuit diagram illustrating a configuration example of aread circuit unit in the memory circuit device illustrated in FIG. 1.

FIG. 5 is a circuit diagram illustrating a configuration example of aselection circuit unit in the memory circuit device illustrated in FIG.1.

FIG. 6 is a circuit diagram illustrating a configuration example of anoutput circuit in the selection circuit unit illustrated in FIG. 4.

FIG. 7 is an explanatory diagram of a shift operation (read) in thememory circuit device according to the embodiment of the presentinvention.

FIG. 8 is an explanatory diagram of a shift operation (write) in thememory circuit device according to the embodiment of the presentinvention.

FIG. 9 is a timing chart illustrating the shift operation in the memorycircuit device according to the embodiment of the present invention.

FIG. 10 is a circuit diagram illustrating a memory circuit deviceaccording to another embodiment of the present invention.

FIG. 11 is a diagram illustrating a comparison between a productmounting thereon the memory circuit device according to the presentinvention and that mounting thereon an existing device with respect topower consumption at the time of shift calculation.

FIG. 12 is a diagram illustrating a comparison between the productmounting thereon the memory circuit device according to the presentinvention and that mounting thereon the existing device with respect tothe number of transistors constituting the product.

FIG. 13 is a diagram illustrating a comparison between the productmounting thereon the memory circuit device according to the presentinvention and that mounting thereon the existing device with respect tothe number of transistors, constituting the product, for the number ofinputs.

DESCRIPTION OF EMBODIMENTS

Hereinbelow, embodiments of the present invention are described usingthe drawings.

A memory circuit device according to a first embodiment of the presentinvention has a configuration as illustrated in FIG. 1. This memorycircuit device is constituted of, for example, a nonvolatile FPGA thatuses a magnetic tunnel junction (MTJ) element (magnetic tunnel junctionelement) as a memory cell by the logic-in-memory (LIM) circuittechnology. The logic-in-memory circuit technology is a technology forminimizing the complexity of a connection network of memories andcalculators or a technology for localizing communication betweenmemories and calculators, and is described in detail in NPL 1 above.

This memory circuit device can be used as a typical memory device thatreads and writes data, as a device that implements a lookup table (LUT)calculation function, and as a device (shift register) that implements ashift function of sequentially shifting input data.

In FIG. 1, this memory circuit device includes n (n is an integer of 2or larger) memory cells 11 from the first memory cell 11(0) to the n-thmemory cell 11(n−1) (the collectively-called “memory cell” is assigned areference number of “11”) each of which is constituted of an MTJ element(resistive memory element). Each memory cell 11 is constituted of athree-terminal MTJ element. As illustrated in FIG. 2A, thethree-terminal MTJ element has one read terminal T1 and two writeterminals T2 and T3. When write current I_(WR) (high-resistance currentI_(WH)) flows from the write terminal T2 toward the write terminal T3,the element becomes at a high resistance value R_(H). Adversely, whenwrite current I_(WR) (low-resistance current I_(WL)) flows from thewrite terminal T3 toward the write terminal T2, the element becomes at alow resistance value R_(L). For example, defining that the highresistance value R_(H) is data “1” (M=1) and the low resistance valueR_(L) is data “0” (M=0), data (0 or 1) corresponding to the flowdirection of the write current I_(WR) is written to the element. On theother hand, when read current I_(RD) flows to the read terminal T1 (andflows out through the terminal T3, for example), voltage drop occursaccording to the resistance value of the element (low resistance R_(L),high resistance R_(H)). By detecting this voltage drop, it is possibleto read out data (0 or 1) written in the element.

In addition to the three-terminal MTJ element described above, atwo-terminal MTJ element as illustrated in FIG. 2B can also be used as amemory cell. The two-terminal MTJ element has two terminals T1 and T2.When write current I_(WR) (low-resistance current I_(WL)) flows from theterminal T1 toward the terminal T2, the element becomes at a lowresistance value R_(L). Adversely, when write current I_(WR)(high-resistance current I_(WH)) flows from the terminal T2 toward theterminal T1, the element becomes at a high resistance value R_(H). Inthis case also, data (0 or 1) corresponding to the resistance value (lowresistance R_(L), high resistance R_(H)) is written to the element. Whenread current I_(RD) flows from the terminal T1, voltage drop occursaccording to the resistance value of the element (low resistance R_(L),high resistance R_(H)). By detecting this voltage drop, it is possibleto read out data (0 or 1) written in the element.

The memory circuit device using the two-terminal MTJ element is to bedescribed later as a second embodiment of the present invention (seeFIG. 10).

Returning back to FIG. 1, in addition to the n memory cells 11(0) to11(n−1) described above, this memory circuit device has: a write circuitunit 20; a read circuit unit 30; and a selection circuit unit 40 that isshared by both of the write circuit unit 20 and the read circuit unit30. This memory circuit device also has, as a control circuit unit:write control transistors (NMOS type) 14 a and 14 b (write controlcircuit unit); a read control transistor 15 (read control circuit unit);write control transistors (NMOS type) 13(0) to 13(n−1) (cell-associatedwrite control circuit unit) that are associated with then memory cells11(0) to 11(n−1); and an access transistor array 12 for allowing theread circuit unit 30 to access the memory cells 11. The accesstransistor array 12 is constituted of access transistors 12(0) to12(n−1) (cell-associated access control circuit unit) that areassociated with the n memory cells 11(0) to 11(n−1). The memory circuitdevice further has two switching circuit units (MUX) that are configuredto perform switching operations according to a shift control signal(Shift). One of the switching circuit units is a data switching circuitunit (MUX) 16 that is configured to switch data to be supplied to thewrite circuit unit 20 between data for shift D_(MIN) (first data string)and data for storage D_(IN) (second data string) according to the shiftcontrol signal (Shift). Meanwhile, the other is a cell designatinginformation switching circuit unit (MUX) 17 that is configured to switchcell designating information (information for designating a memory cell)to be supplied to the selection circuit unit 40 between shift celldesignating information Y (first cell designating information) andLUT/memory cell designating information X/ADRS (second cell designatinginformation) according to the shift control signal (Shift).

Each of the access transistors 12(0) to 12(n−1) is connected to a readterminal of the corresponding one of the memory cells 11(0) to 11(n−1)(three-terminal MTJ element: see FIG. 2A) and a read connection terminalof the read circuit unit 30. In addition, two write lines extend fromthe write circuit unit 20, and the write lines are respectively providedwith the write control transistors 14 a and 14 b. A write enable signal(WE) is input to each of the gates of these transistors 14 a and 14 b,and the transistors 14 a and 14 b get turned on based on the writeenable signal (WE) and allow write current I_(WR) to flow from the writecircuit unit 20 to the two write lines. This enables the write circuitunit 20 to write data to the memory cells 11(0) to 11(0) (three-terminalMTJ element). One of the write terminals of each of the memory cells11(0) to 11(n−1) (see FIG. 2A) is connected to one of the write lines,while the other write terminal (see FIG. 2A) is connected to the otherwrite line via the corresponding one of the write control transistors13(0) to 13(n−1).

The write line extending from the write circuit unit 20 and providedwith the write control transistor 14 b is used as a current line at thetime of reading data, and the read control transistor 15 is connected tothis current line and a ground terminal. A read enable signal (RE) isinput to the gate of the transistor 15, and the transistor 15 getsturned on based on the read enable signal (RE) and sets the currentline, to which the transistors 13(0) to 13(n−1) are connected, at aground level. This enables read current I_(RD), which is output from theread circuit unit 30, to flow via the access transistors 12(0) to12(n−1), the memory cells 11(0) to 11(n−1) and the transistors 13(0) to13(n−1) and thus enables data reading from the memory cells 11(0) to11(n−1).

Selection signal lines associated respectively with then memory cells11(0) to 11(n−1) extend from the selection circuit unit 40, and each ofthe selection signal lines is connected to the gate of the accesstransistor 12(i) provided for the corresponding memory cell 11(i) and tothe gate of the corresponding transistor 13(i). The selection circuitunit 40 outputs a cell selection signal through the selection signalline that is associated with the memory cell 11(i) which is selected, asa memory cell to be activated, based on cell designating informationinput via the cell designating information switching circuit unit 17.Then, by the cell selection signal that is output from the selectioncircuit unit 40 through the selection signal line associated with thememory cell 11(i) to be activated, the corresponding access transistor12(i) and transistor 13(i) get turned on, which enables the writecircuit unit 20 to write data to the memory cell 11(i) and enables theread circuit unit 30 to read data from the memory cell (i).

A specific configuration of the selection circuit unit 40 is to bedescribed later.

First, the write circuit unit 20 has a configuration as illustrated inFIG. 3.

In FIG. 3, the write circuit unit 20 includes: a first current supplycircuit 23 a; a second current supply circuit 23 b; and two NOT gates 21a and 21 b and two NOR gates 22 a and 22 b as a control circuit. Thefirst current supply circuit 23 a has a configuration such that a PMOStransistor 231 a, an NMOS transistor 232 a, and a constant voltagesource 233 a are connected in series between a power input terminalVDD_IN and a ground. As with the first current supply circuit 23 a, thesecond current supply circuit 23 b also has a configuration such that aPMOS transistor 231 b, an NMOS transistor 232 b, and a constant voltagesource 233 b are connected in series between the power input terminalVDD_IN and a ground. The write line provided with the write controltransistor 14 a described above extends through a terminal DOT from aconnection point between the transistor 231 a (D terminal) and thetransistor 232 a (D terminal) of the first current supply circuit 23 a.Meanwhile, the write line provided with the write control transistor 14b extends through a terminal DOB from a connection point between thetransistor 231 b (D terminal) and the transistor 232 b (D terminal) ofthe second current supply circuit 23 b.

The two NOR gates 22 a and 22 b become active when a control signal WCKBis “0”. When data “1” (H level) is input to an input terminal AB in thisstate, an H level signal having passed through the two NOT gates 21 aand 21 b is then inverted into an L level signal by the NOR gate 22 a,and is input to the gates of the transistors 231 a and 232 a of thefirst current supply circuit 23 a. At this time, a signal having turnedinto an L level signal through the NOT gate 21 a is then inverted intoan H level signal by the NOR gate 22 b, and is input to the gates of thetransistors 231 b and 232 b of the second current supply circuit 23 b.Thereby, in the first current supply circuit 23 a, the transistor 231 a(PMOS type) turns on and the transistor 232 a (NMOS type) turns off,respectively; in the second current supply circuit 23 b, the transistor231 b (PMOS type) turns off and the transistor 232 b (NMOS type) turnson, respectively. As a result, write current I_(WR) output from thefirst current supply circuit 23 a flows through the write line, which isprovided with the transistor 14 a, via the terminal DOT, and is drawninto the second current supply circuit 23 b via the DOB. Thus, data “1”is written to the selected memory cell.

On the other hand, when data “0” (L level) is input to the inputterminal AB, an L level signal having passed through the two NOT gates21 a and 21 b is then inverted into an H level signal by the NOR gate 22a, and is input to the gates of the transistors 231 a and 232 a of thefirst current supply circuit 23 a. At this time, a signal having turnedinto an H level signal through the NOT gate 21 a is then inverted intoan L level signal by the NOR gate 22 b, and is input to the gates of thetransistors 231 b and 232 b of the second current supply circuit 23 b.Thereby, in the first current supply circuit 23 a, the transistor 231 a(PMOS type) turns off and the transistor 232 a (NMOS type) turns on,respectively; in the second current supply circuit 23 b, the transistor231 b (PMOS type) turns on and the transistor 232 b (NMOS type) turnsoff, respectively. As a result, write current I_(WR) output from thesecond current supply circuit 23 b flows through the write line, whichis provided with the transistor 14 b, via the terminal DOB, and is drawninto the first current supply circuit 23 a via the DOT. Thus, data “0”is written to the selected memory cell.

Next, the read circuit unit 30 has a configuration as illustrated inFIG. 4.

In FIG. 4, the read circuit unit 30 includes: a resistance division unit31; an inversion unit 32; and a latch unit 33. In the resistancedivision unit 31, a PMOS transistor 311 and an NMOS transistor 312 areconnected in series between a power input terminal VDD_IN and a readconnection terminal UE. The transistor 311 having a gate connected to aground is constantly set at ON and functions as a load resistor. A clocksignal for synchronizing a read operation, which is supplied via aterminal CLK, is input to the gate of the transistor 312, and thistransistor 312 repeats an ON/OFF operation (switching operation) insynchronization with the clock signal.

As described previously (see FIG. 1), the read connection terminal UE isconnected to the read terminals of the memory cells 11(0) to 11(n−1) viathe respective access transistors 12(0) to 12(n−1). Thus, when thetransistor 312 gets turned on, read current IRD flows from a powersupply VDD by way of the transistor 311, the transistor 312, and theaccess transistor 12(i), which gets turned on by the cell selectionsignal, to the corresponding memory cell 11(i). Thereby, power supplyvoltage VDD is divided by resistance (low resistance, high resistance)corresponding to data (0 or 1) written in the memory cell 11(i) and theload resistance of the transistor 311, and the divided voltage(hereinafter referred to as read voltage) appears at a connection pointbetween the transistor 311 (D terminal) and the transistor 312 (Dterminal). Since the load resistance of the transistor 311 is constant,the read voltage (divided voltage) corresponds to the data (highresistance, low resistance) written in the memory cell 11(i).

Between the power input terminal VDD_IN and the read connection terminalUE, a PMOS transistor 313 is connected in parallel with the seriescircuit of the two transistors 311 and 312 described above. A controlsignal RD which becomes at the H level (=1) during the read operation isinput to the gate of this transistor 313. When this control signal RD isat the L level (RD=0), the transistor 313 turns on and the readconnection terminal UE is kept at the H level (power supply voltageVDD). Thereby, while no read operation is performed (RD=0), the accesstransistors 12(0) to 12(n−1) (on the D terminal side) of the accesstransistor array 12 connected to the read connection terminal UE areprecharged. This makes it possible to improve the processing speed atthe time of reading data (RD=1) from the memory cell 11(i) via thecorresponding access transistor 12(i).

The inversion unit 32 is constituted of an inversion circuit 321. Theabove-described read voltage of the resistance division unit 31corresponding to the data (0: low resistance, 1: high resistance)written in the memory cell 11 is input to the inversion circuit 321, andthis read voltage is inverted and amplified by the inversion circuit 321and supplied to the latch unit 33. Meanwhile, the latch unit 33 has aconfiguration such that a circuit unit, constituted of an NMOStransistor 331 and a PMOS transistor 322, and an NOT gate 335 areconnected in series, and the output of the NOT gate 335 is fed back tothe input of the NOT gate 335 via an NOT gate 336 and a circuit unitconstituted of an NMOS transistor 333 and a PMOS transistor 334. A clocksignal CLK supplied via the terminal CLK is input to the gate of thetransistor 331 (NMOS type) and the gate of the transistor 334 (PMOStype), and a clock signal CLKB supplied via a terminal CLKB is input tothe gate of the transistor 332 (PMOS type) and the gate of thetransistor 333 (NMOS type).

The read circuit unit 30 having the above configuration operates insynchronization with the clock signal CKL and the clock signal CLKB.Specifically, when the clock signal CLK=1 and the clock signal CLKB=0,the resistance value (low resistance, high resistance) of the memorycell 11 (MTJ element) i.e. the read voltage corresponding to the data(0, 1) written in the memory cell 11 appears at the connection pointbetween the transistor 311 (D terminal) as the load resistor and thetransistor 312 (D terminal) for switching of the resistance divisionunit 31, and this read voltage is inverted and amplified by theinversion circuit 321 of the inversion unit 32. Meanwhile, when theclock signal CLK=0 and the clock signal CLKB=1, the output voltage ofthe inversion circuit 321 is held by the latch unit 33, and the heldvoltage that is at the level (L, H) corresponding to the data (0, 1)written in the memory cell 11 is output from an output terminal Out.

Next, the selection circuit unit 40 has a configuration as illustratedin FIG. 5. For example, the selection circuit unit 40 illustrated inFIG. 5 has a configuration corresponding to four (n=4) memory cells ofthe first memory cell 11(0), the second memory cell 11(1), the thirdmemory cell 11(2), and the fourth memory cell 11(3).

Cell designating information (address information) that is input to theselection circuit unit 40 via the cell designating information switchingcircuit unit 17 is represented by 2 bits. For example, cell designatinginformation “00” designates the first memory cell 11(0), celldesignating information “01” designates the second memory cell 11(1),cell designating information “10” designates the third cell memory11(2), and cell designating information “11” designates the fourthmemory cell 11(3). This selection circuit unit 40 is configured as adecoder circuit unit that is configured to convert cell designatinginformation, which designates a memory cell, into a cell selectionsignal that activates this memory cell.

In FIG. 5, this selection circuit unit 40 has four output circuits44(0), 44(1), 44(2), and 44(3) that correspond respectively to the fourmemory cells 11(0) to 11(3). As illustrated in FIG. 6, each of theoutput circuits 44(0) to 44(3) includes: an inversion circuit 442; and aPMOS transistor 441 that is located between the input (input terminal I)of the inversion circuit 442 and a power supply VDD. The gate of thetransistor 441 is connected to a ground, and this transistor 441 isconstantly set at ON. Thus, the output of the inversion circuit 442 i.e.an output terminal 0 is normally kept at the L level by power supplyvoltage VDD.

Returning back to FIG. 5, this selection circuit unit 40 has two NMOStransistors 41 a and 41 b and four NMOS transistors 42 a, 43 a, 42 b,and 43 b that are connected in a tree shape. The transistor 41 a getsturned on or off by a selection signal input to an input port X[1], andthe transistor 41 b gets turned on or off by a selection signal input toan input port XB[1]. Meanwhile, the transistors 42 a and 42 b get turnedon or off by a selection signal input to an input port X[0], and thetransistors 43 a and 43 b get turned on or off by a selection signalinput to an input port XB[0].

The 2-bit cell designating information that designates any of the memorycells 11(0) to 11(3) is converted into four selection signals and inputto the four input ports X[1], XB[1], X[0], and XB[0] as follows.

The cell designating information “00” that designates the first memorycell 11(0) is converted into X[1]=0, XB[1]=1, X[0]=0, XB[0]=1,

the cell designating information “01” that designates the second memorycell 11(1) is converted into X[1]=0, XB[1]=1, X[0]=1, XB[0]=0,

the cell designating information “10” that designates the third memorycell 11(2) is converted into X[1]=1, XB[1]=0, X[0]=0, XB[0]=1, and

the cell designating information “11” that designates the fourth memorycell 11(3) is converted into X[1]=1, XB[1]=0, X[0]=1, XB[0]=0.

When the selection circuit unit 40 is in the decoding operation, anL-level signal is input to an input terminal IN (IN=0). In this state,when the cell designating information “00” that designates the firstmemory cell 11(0) is supplied to the selection circuit unit 40, theselection signals X[1]=0, XB[1]=1, X[0]=0, XB[0]=1 are input to the fourinput ports X[1], XB[1], X[0], and XB[0]. Thereby, the transistor 41 bgets turned on, the transistors 43 a and 43 b get turned on, and all theremaining transistors are kept at OFF. As a result, the input terminal Iof the output circuit 44(0) that is associated with the first memorycell 11(0) is brought into the L level through the transistors 41 b and43 b, and an H-level cell selection signal is output from the outputterminal 0 of the output circuit 44(0) of the inversion circuit 442 (seeFIG. 6).

When the cell designating information “01” that designates the secondmemory cell 11(1) is supplied to the selection circuit unit 40, theselection signals X[1]=0, XB[1]=1, X[0]=1, XB[0]=0 are input to the fourinput ports X[1], XB[1], X[0], and XB[0]. Thereby, the transistor 41 bgets turned on, the transistors 42 a and 42 b get turned on, and all theremaining transistors are kept at OFF. As a result, the input terminal Iof the output circuit 44(1) that is associated with the second memorycell 11(1) is brought into the L level through the transistors 41 b and42 b, and an H-level cell selection signal is output from the outputterminal 0 of the output circuit 44(1) of the inversion circuit 442 (seeFIG. 6).

When the cell designating information “10” that designates the thirdmemory cell 11(2) is supplied to the selection circuit unit 40, theselection signals X[1]=1, XB[1]=0, X[0]=0, XB[0]=1 are input to the fourinput ports X[1], XB[1], X[0], and XB[0]. Thereby, the transistor 41 agets turned on, the transistors 43 a and 43 b get turned on, and all theremaining transistors are kept at OFF. As a result, the input terminal Iof the output circuit 44(2) that is associated with the third memorycell 11(2) is brought into the L level through the transistors 41 a and43 a, and an H-level cell selection signal is output from the outputterminal 0 of the output circuit 44(2) of the inversion circuit 442 (seeFIG. 6).

When the cell designating information “11” that designates the fourthmemory cell 11(3) is supplied to the selection circuit unit 40, theselection signals X[1]=1, XB[1]=0, X[0]=1, XB[0]=0 are input to the fourinput ports X[1], XB[1], X[0], and XB[0]. Thereby, the transistor 41 agets turned on, the transistors 42 a and 42 b get turned on, and all theremaining transistors are kept at OFF. As a result, the input terminal Iof the output circuit 44(3) that is associated with the fourth memorycell 11(3) is brought into the L level through the transistors 41 a and42 a, and an H-level cell selection signal is output from the outputterminal 0 of the output circuit 44(3) of the inversion circuit 442 (seeFIG. 6).

The cell selection signal (H level) output from the output circuit 44(i)(i=0, 1, 2, 3) is supplied to the gate of the access transistor 12(i)and the gate of the transistor 13(i) associated with the i-th memorycell 11(i) through the selection signal line associated with the i-thmemory cell 11(i) and turns on the access transistor 12(i) and thetransistor 13(i), as described previously. This enables the writecircuit unit 20 to write data to the i-th memory cell 11(i) and enablesthe read circuit unit 30 to read data from the i-th memory cell 11(i).

The operation of the above memory circuit device is described.

First, with reference to FIGS. 7 to 9, a description is given of theoperation of the memory circuit device, having the four memory cells11(0) to 11(3), as a device (shift register) implementing a shiftfunction of sequentially shifting input data.

By the shift control signal (Shift), data for shift D_(MIN) is suppliedto the write circuit unit 20 via the data switching circuit unit 16 (seeFIG. 1), and 2-bit cell designating information Y is supplied to theselection circuit unit 40 via the cell designating information switchingcircuit unit 17 (see FIG. 1). For example, assume a case where shiftinput data D_(MIN) is “0010110001110 . . . ” and, in an initial state,initial four bits “0010” are written in the first memory cell 11(0) tothe fourth memory cell 11(3).

In this state, as illustrated in FIG. 9, cell designating information Yis supplied to the selection circuit unit 40 while changing so as toiterate over “00”, “01”, “10”, and “11” in synchronization with apredetermined clock signal CLK (cell designation step). Once celldesignating information Y=00 is supplied to the selection circuit unit40, firstly a read enable signal RE is activated (RE=1), whereby theread control transistor 15 gets turned on. In this state, the celldesignating information Y=00 is converted into a cell selection signal(H level) for the first memory cell 11(0) by the selection circuit unit40 (decoder circuit unit), and this cell selection signal turns on theaccess transistor 12(0) and the transistor 13(0) that are associatedwith the first memory cell 11(0). Then, as represented by a thick brokenline illustrated in FIG. 7, read current I_(RD) output from the readcircuit unit 30 flows through the access transistor 12(0), the firstmemory cell 11(0) (MTJ element), the transistor 13(0), and the readcontrol transistor 15. As a result, the first bit “0” (corresponding tolow resistance) of the input data D_(MIN) written in the first memorycell 11(0) is read out by the read circuit unit 30, and this bit “0”thus read out is output from the output terminal OUT (data readoutstep).

Next, the read enable signal RE is fallen down (RE=0) and the writeenable signal WE is activated (WE=1), whereby the two write controltransistors 14 a and 14 b get turned on. In this state, the selectioncircuit unit 40 keeps outputting the cell selection signal for the firstmemory cell 11(0) that corresponds to the cell designating informationY=00, whereby the transistor 13(0) is kept turned on. Then, writecurrent I_(WR) that corresponds to the fifth bit “1” of the input dataD_(MIN) is output from the write circuit unit 20 and, as represented bya thick broken line illustrated in FIG. 8, this write current I_(WR)flows through the write control transistor 14 a, the first memory cell11(0) (MTJ element), the transistor 13(0), and the write controltransistor 14 b and returns back to the write circuit unit 20. As aresult, the fifth bit “1” is written to the first memory cell 11(0) bythe write current I_(WR) in replacement of the first bit “0” of theinput data D_(MIN) (data write step).

Subsequently, as represented by the timing chart illustrated in FIG. 9,while the cell designating information Y to be supplied to the selectioncircuit unit 40 changes with iteration, the second bit “0” of the inputdata D_(MIN) that is written in the second memory cell 11(1) designatedby the cell designating information Y=01 is read out by the read circuitunit 30, and the sixth bit “1” of the input data D_(MIN) is written tothe second memory cell 11(1) by the write circuit unit 20 in replacementof this second bit “0”. Then, the third bit “1” of the input dataD_(MIN) that is written to the third memory cell 11(2) designated by thecell designating information Y=10 is read out by the read circuit unit30, and the seventh bit “0” of the input data D_(MIN) is written to thethird memory cell 11(2) by the write circuit unit 20 in replacement ofthis third bit “1”. Further, the fourth bit “0” of the input dataD_(MIN) that is written in the fourth memory cell 11(3) designated bythe cell designating information Y=11 is read out by the read circuitunit 30, and the eighth bit “0” of the input data D_(MIN) is written tothe fourth memory cell 11(3) by the write circuit unit 20 in replacementof this fourth bit “0”.

By repeating the above operation, the input data D_(MIN) is output fromthe read circuit unit 30 while being shifted one bit at a time. Thisimplements a shift register function of shifting the input data D_(MIN)one bit at a time.

Next, a description is given of the operation of the above memorycircuit device as a typical memory device that reads and writes data.

In this case, by the shift control signal (Shift), write data D_(IN) issupplied to the write circuit unit 20 via the data switching circuitunit 16, and address information ADRS is supplied as cell designatinginformation to the selection circuit unit 40 via the cell designatinginformation switching circuit unit 17. Thereby, as in the case of theshift operation described above, in the state where the write enablesignal WE is activated (WE=1), the write data D_(IN) is written one bitat a time by the write circuit unit 20 to the memory cell 11 that isselected by the selection circuit unit 40 based on the provided addressinformation ADRS. In addition, in the state where the read enable signalRE is activated (RE=1), data that is written in the memory cell selectedby the selection circuit unit 40 based on the provided addressinformation ADRS is read out one bit at a time from this memory cell.

Next, a description is given of the operation of the above memorycircuit device as a device that implements the lookup table (LUT)calculation function.

Based on the relationship between input information X and a result ofcalculation of this input information X according to a predeterminedcalculation algorithm, the input information X is supplied to theselection circuit unit 40 as address information ADRS (cell designatinginformation), and data representing the result of calculation of theinput information X is supplied to the write circuit unit 20 as writedata D_(IN) in response to the address information ADRS that correspondsto the input information X. For example, based on the relationshipbetween input information X and a result of addition according to acalculation algorithm for obtaining a result of addition (A+B) of partsobtained by dividing the input information X into two (e.g. A and B),the input information X is input to the selection circuit unit 40 asaddress information ADRS, and data representing the result of additionof A and B constituting the input information X is supplied to the writecircuit unit 20 as write data DN in response to the address informationADRS that corresponds to the input information X. Thereby, in the statewhere the write enable signal WE is activated (WE=1), the write dataD_(IN) is written one bit at a time by the write circuit unit 20 to thememory cell 11 that is selected by the selection circuit unit 40 basedon the provided address information ADR. In the memory circuit devicewith the above state, a result of readout by the read circuit unit 30 inresponse to the address information ADRS (cell designating information)is output as the result of calculation (e.g. the calculation result A+B)of the input information X (e.g. A and B) according to the predeterminedcalculation algorithm (e.g. addition algorithm) (LUT function).

In the memory circuit device described above, data is written and readusing the function of the selection circuit unit 40 that is shared byboth of the write circuit unit 20 and the read circuit unit 30 withoutdedicated selection circuit units 40 provided respectively for the writecircuit unit 20 and the read circuit unit 30. Thus, this memory circuitdevice makes it possible to further downsize a circuit.

Further, the above memory circuit device can be used as a device thatimplements a shift register function by repeating reading and writing ofdata while sequentially changing a memory cell to be designated. Sincethe above memory circuit device repeats reading and writing of data onebit at a time unlike a typical shift register that rewrites all bitsevery time the device reads one bit, this device makes it possible toreduce power consumption.

The above memory circuit device uses a three-terminal MTJ element as amemory cell; instead, this device may use a two-terminal MTJ element(see FIG. 2B) as a memory cell. In this case, for example, the memorycircuit device has a configuration as illustrated in FIG. 10 (the secondembodiment of the present invention). Since memory cells 18(0) to18(n−1) are each constituted of a two-terminal MTJ element in thismemory circuit device, the write transistors 13(0) to 13(n−1) used inthe case of the three-terminal MTJ element (see FIG. 1) can beeliminated. Note, however, that the n access transistors 12(0) to12(n−1) constituting the access transistor array 12 are used not onlyfor the read operation in the read circuit unit 30 but also for thewrite operation in the write circuit unit 20, and therefore transistorsused as the access transistor array 12 need to have a performance highenough to guarantee the write operation.

In the memory circuit device illustrated in FIG. 10 which uses thetwo-terminal MTJ element as the memory cell, the configuration of eachof the write circuit unit 20, the read circuit unit 30, and theselection circuit unit 40 is the same as that of the memory circuitdevice described above (see FIGS. 3 to 5). Note, however, that the writecircuit unit 20 illustrated in FIG. 10 includes the two write controltransistors 14 a and 14 b illustrated in FIG. 1 (see FIG. 3).

In addition, the memory cells are not limited to MTJ elements, and maybe memory elements of another type as long as they are resistive memoryelements.

As illustrated in FIG. 11, the power consumption of one example of thememory circuit device according to the present invention (proposedcircuit) at the time of shift calculation is at the same level as thepower consumption of a device using an SRAM, and can be reducedsignificantly as compared with the power consumption of a device using anonvolatile SRAM. In addition, as illustrated in FIG. 12, the number oftransistors, constituting the memory circuit device, of one example ofthe memory circuit device according to the present invention (proposedcircuit) can be reduced largely as compared with that of the deviceusing the SRAM and the device using the nonvolatile SRAM. Besides, asillustrated in FIG. 13, one example of the memory circuit deviceaccording to the present invention (proposed circuit) exhibits moreremarkable reduction effect in terms of the circuit size as the numberof inputs becomes larger.

The memory device described above is not limited to that formed by thelogic-in-memory (LIM) circuit technology. For example, it is alsopossible to use a memory circuit device constituted basically of aStatic Random Access Memory (SRAM). In this case, the selection circuitunit may also be shared by both of the write circuit unit and the readcircuit unit. This device can also implement the function of the shiftregister as described above by setting a read address (a cell to bedesignated by cell designating information) and a write address (amemory cell to be designated by the cell designating information) at thesame value, reading data of the address thus set (the memory cell to bedesignated by the cell designating information), writing a new value tothis address (the memory cell to be designated by the cell designatinginformation), and then incrementing the address.

In addition, another similar memory circuit device may be configuredusing a nonvolatile SRAM and other memory elements.

Note that the present invention is not limited to the above embodimentsand their modification examples. Various modifications to them arepossible based on the gist of the present invention, and thesemodifications are not excluded from the scope of the present invention.

INDUSTRIAL APPLICABILITY

The memory circuit device according to the present invention has aneffect of further downsizing a circuit, and is useful as a memorycircuit device equipped with multiple memory cells, a write circuit unitthat writes data to each of the memory cells, and a read circuit unitthat reads, from each of the memory cells, data written in this memorycell.

REFERENCE SIGNS LIST

11(0) to 11(n−1): memory cell

12: access transistor array

12(0) to 12(n−1): access transistor

13(0) to 13(n−1): transistor

14 a and 14 b: write control transistor

15: read control transistor

20: write circuit unit

30: read circuit unit

31: resistance division unit

32: inversion unit

33: latch unit

40: selection circuit unit (decoder circuit unit)

1. A memory circuit device comprising: a plurality of memory cells, eachof which is a resistive memory element having a first terminal and asecond terminal; a write circuit unit that is configured to write datato a memory cell of the plurality of memory cells which is designated bycell designating information; and a read circuit unit that is configuredto read out, from the memory cell designated by cell designatinginformation, data written in the memory cell; wherein the memory circuitdevice is configured to output the data that was read out from thememory cell by the read circuit unit, the data representing a result ofa calculation defined by a predetermined calculation algorithmcorresponding to the cell designating information as input information,wherein the memory circuit device comprises: a selection circuit unitthat is shared by both of the write circuit unit and the read circuitunit and configured to select a memory cell to be activated from theplurality of memory cells based on the cell designating information; anda control circuit unit that is configured to selectively enable any oneof writing of data by the write circuit unit and reading of data by theread circuit unit to the memory cell selected by the selection circuitunit, wherein the control circuit unit includes a cell-associated accesscontrol circuit unit that is configured to selectively enable any one ofwriting of data by the write circuit unit and to selectively enable anyone of reading of data by the read circuit unit, the cell-associatedaccess control circuit unit is connected to the first terminal, the readcircuit unit, and a write line extending from the write circuit unit,selection signal lines corresponding respectively with the plurality ofmemory cells extend from the selection circuit unit, and one selectionsignal line of the selection signal lines is connected to thecell-associated access control circuit unit connected with acorresponding memory cell of the plurality of memory cells.
 2. Thememory circuit device according to claim 1, wherein the control circuitunit includes: a write control circuit unit that is configured toenable, based on a write enable signal, the write circuit unit to writedata to the memory cell selected by the selection circuit unit; and aread control circuit unit that is configured to enable, based on a readenable signal, the read circuit unit to read data from the memory cellselected by the selection circuit unit.
 3. The memory circuit deviceaccording to claim 2, wherein the selection circuit unit includes adecoder circuit unit that is configured to convert the cell designatinginformation into a cell selection signal which corresponds to the memorycell designated by the cell designating information, and output the cellselection signal, and the cell-associated write control circuit unitallows, in response to the cell selection signal output from the decodercircuit unit, the write circuit unit to write data to the memory cellwhich corresponds to the cell selection signal; and the cell-associatedaccess control circuit unit allows, in response to the cell selectionsignal output from the decoder circuit unit, the read circuit unit toaccess the memory which corresponds to the cell selection signal.
 4. Thememory circuit device according to claim 1, further comprising: a dataswitching circuit unit that is configured to switch a data string to besupplied to the write circuit unit between a first data string and asecond data string according to a shift control signal; and a celldesignating information switching circuit unit that is configured toswitch the cell designating information to be supplied to the selectioncircuit unit between first cell designating information and second celldesignating information according to the shift control signal.
 5. Thememory circuit device according to claim 1, wherein each of theplurality of memory cells is a magnetoresistive memory cell.
 6. A methodfor using the memory circuit device according to claim 1, the pluralityof memory cells including n (n is an integer of 2 or larger) memorycells from first to n-th memory cells arranged in an array, the methodcomprising: a cell designation step of supplying, in a state where datais written in each of the n memory cells, the selection circuit unitwith cell designating information in which a memory cell designated bythe cell designating information changes sequentially among the firstmemory cell to the n-th memory cell; and a data readout step of causingthe control circuit unit to enable the read circuit unit to read dataand, while a memory cell designated by the cell designating informationchanges sequentially among the first memory cell to the n-th memorycell, thereby causing the read circuit unit to read data from a memorycell selected by the selection circuit unit based on the celldesignating information.
 7. A method for using the memory circuit deviceaccording to claim 1, the plurality of memory cells including n (n is aninteger of 2 or larger) memory cells from first to n-th memory cellsarranged in an array, the method comprising: a cell designation step ofsupplying, in a state where data is written in the n memory cells, theselection circuit unit with cell designating information in which amemory cell designated by the cell designating information changessequentially so as to iterate over the first memory cell to the n-thmemory cell; a data readout step of causing the control circuit unit toenable the read circuit unit to read data and, while a memory celldesignated by the cell designating information changes so as to iterateover the first memory cell to the n-th memory cell, thereby causing theread circuit unit to read data from a memory cell selected by theselection circuit unit based on the cell designating information; and adata write step of causing the control circuit unit to enable the writecircuit unit to write data instead of enabling the read circuit unit toread data every time the readout of data by the read circuit unit isover, and thereby causing the write circuit unit to write data to thememory cell selected by the selection circuit unit based on the celldesignating information at the time of the readout of data.
 8. A methodfor using the memory circuit device according to claim 2, the pluralityof memory cells including n (n is an integer of 2 or larger) memorycells from first to n-th memory cells arranged in an array, the methodcomprising: a cell designation step of supplying, in a state where datais written in the n memory cells, the selection circuit unit with celldesignating information in which a memory cell designated by the celldesignating information changes sequentially so as to iterate over thefirst memory cell to the n-th memory cell; a data readout step ofsupplying the read enable signal to the read control circuit unit and,while a memory cell designated by the cell designating informationchanges so as to iterate over the first memory cell to the n-th memorycell, thereby causing the read circuit unit to read data from a memorycell selected by the selection circuit unit based on the celldesignating information; and a data write step of supplying the writeenable signal to the write control circuit unit instead of the readenable signal every time the readout of data by the read circuit unit isover, and thereby causing the write circuit unit to write data to thememory cell selected by the selection circuit unit based on the celldesignating information at the time of the readout of data.
 9. Thememory circuit device according to claim 1, wherein the selectioncircuit unit has transistors connected in a tree shape.